package com.peng.Mapper;

import com.peng.pojo.Blog;

import java.util.List;
import java.util.Map;

public interface BlogMapper {

    int addBlog(Blog blog);

    List<Blog> getBlogs(Map<String,Object> map);

    List<Blog> getBlogs1(Map<String,Object> map);

    int updateBlog(Map<String,Object> map);
}
